package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class NanDongAjTypeRowMapper implements RowMapper<NanDongAjType> {
    @Override
    public NanDongAjType mapRow(ResultSet resultSet, int i) throws SQLException {
        NanDongAjType nd = new NanDongAjType();
        nd.setAj_type(resultSet.getString("aj_type"));
        nd.setAj_code(resultSet.getString("aj_code"));
        nd.setAj_number(resultSet.getString("aj_number"));
        return nd;
    }
}
